<!DOCTYPE html>
<html>
<head>
<head><#include "/base/head.html">
<meta charset="UTF-8">
<title>登录界面</title>
</head>
<body>
<script type="text/javascript">
$(function(){
	resize();
	$(window).resize(function(){
		resize();
	});
	function resize() {
		$('#login_panel').css('top',$(window).height()/2-150).css('left',$(window).width()/2-250);
	}
})

</script>

    <div class="easyui-panel" id="login_panel"  style="width:400px;position: absolute;">
    	<div style="width: 100%; text-align: center;margin: 40px 0;">
	    	<label style="font-size: 20px; ">宠物犬疾病专家系统后台管理系统</label>
    	</div>
        <div style="padding:10px 60px 20px 60px">
        <form id="login_form" method="post" action="${contextPath}/login/in">
            <table cellpadding="5">
                <tr>
                    <td>账号/email:</td>
                    <td><input class="easyui-textbox" type="text" name="nickname" value="admin" ></input></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input class="easyui-textbox" type="password" name="password" value="88888888" ></input></td>
                </tr>
            </table>
        </form>
        <div style="text-align:center;padding:5px; margin:20px 0 10px 0;">
            <a href="javascript:void(0)" style="width: 130px;" class="easyui-linkbutton" onclick="submitForm()">登录</a>
        </div>
        </div>
    </div>
    <script>
        function submitForm(){
            BaseJs.submitForm("#login_form",function(r){
            	window.location = r.data;
            });
        }
        function clearForm(){
            $('#ff').form('clear');
        }
    </script>
</body>
</html>